home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1995 August
/
CICA - The Ultimate Collection of Shareware for Windows (Disc 2) (August 1995).iso
/
disc2
/
programr
/
vbasic
/
afxvbx.exe
/
APP.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-02
|
2KB
|
30 lines
/*------------------------------------------------------------------------------*
| |
| File Name: CALLER.CPP |
| |
| Description: This file contains the InitInstance() for the CWinApp derived |
| class of the calling application. It simply calls InitAfxVbx()|
| which is a function in a AFXDLL. The AFXDLL creates the main |
| window and all the resources used by the application. |
| |
| History: Date Author Comment |
| 05/23/93 Pran Punniamoorthy Created |
| |
*------------------------------------------------------------------------------*/
#include <afxwin.h>
#include <afxext.h>
#include "app.h" // Class definitions for this application
extern "C" extern void _export WINAPI InitAfxVbx();
CTheApp theApp;
BOOL CTheApp::InitInstance()
{
EnableVBX(); // VB Initialization function
SetDialogBkColor(); // set dialog background color
InitAfxVbx(); // This function is in the DLL
return TRUE;
}